package com.jiexinyun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("rytree")
@Schema(description = "wise人员档案")
public class RytreeEntity {

    @Schema(description = "员工ID",example = "sa")
    private Integer id;

    @Schema(description = "员工编号",example = "sa")
    private String ry_code;

    @Schema(description = "员工姓名",example = "sa")
    private String classname;

    @Schema(description = "部门",example = "sa")
    private String bm;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "最近一次登录时间",example = "2021-01-01 00:00:00")
    private Timestamp last_login_time;

}
